import {Goods} from "@/types/layout";

export type Banner = {
  id:string
  imgUrl:string
  hrefUrl:string
  type:string
}

export type CategoryGoods ={
  id: string
  name: string
  picture: string
  children: SubCategory[]
  goods: Goods[]
  saleInfo?:string
}

export type SubCategory={
  id: string
  name: string
  layer: string
  parent: null
}

export type BannerDTO={
  distributionSite:number
}
